package com.atguigu.gulimallflow.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import utils.PageUtils;
import utils.Query;
import com.atguigu.gulimallflow.dao.ActCmmnRuMilInstDao;
import com.atguigu.gulimallflow.entity.ActCmmnRuMilInstEntity;
import com.atguigu.gulimallflow.service.ActCmmnRuMilInstService;


@Service("actCmmnRuMilInstService")
public class ActCmmnRuMilInstServiceImpl extends ServiceImpl<ActCmmnRuMilInstDao, ActCmmnRuMilInstEntity> implements ActCmmnRuMilInstService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ActCmmnRuMilInstEntity> page = this.page(
                new Query<ActCmmnRuMilInstEntity>().getPage(params),
                new QueryWrapper<ActCmmnRuMilInstEntity>()
        );

        return new PageUtils(page);
    }

}
